#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>


int main()
{
	int arr[] = { -1, -2, -3, -4, -5, -6, -7, -29, -9, -10 };
	int MAX=arr[0];
	int i = 0;
	for ( i = 0; i < 9; i++)
	{
		if (MAX<arr[i+1])
		{
			MAX = arr[i + 1];
		}
	}

	printf("%d\n", MAX);


	return 0;
}